#ifndef BSTRING_H
#define BSTRING_H

#include "valuetype.h"

namespace core
{

class BasicString : public ValueType
{
public:
    BasicString(const QString& value = QString());
    ~BasicString();

    void setValue(const QVariant& value);
    QVariant getValue() const;

    bool operator ==(const Type& type) const;
    bool operator !=(const Type& type) const;

    bool canConvert(const TypeValue& value) const;
    ValueKeywordMask keywordMask() const;

    Type* copy() const;

public:
    static const TypeName NAME;

private:
    QString m_value;
};

} // namespace core

#endif
